import request from '@/utils/request'

// 查询承担国内外重大设计与展演任务列表
export function listCdgnwzdsj(query) {
  return request({
    url: '/system/cdgnwzdsj/list',
    method: 'get',
    params: query
  })
}

// 查询承担国内外重大设计与展演任务详细
export function getCdgnwzdsj(id) {
  return request({
    url: '/system/cdgnwzdsj/' + id,
    method: 'get'
  })
}

// 新增承担国内外重大设计与展演任务
export function addCdgnwzdsj(data) {
  return request({
    url: '/system/cdgnwzdsj',
    method: 'post',
    data: data
  })
}

// 修改承担国内外重大设计与展演任务
export function updateCdgnwzdsj(data) {
  return request({
    url: '/system/cdgnwzdsj',
    method: 'put',
    data: data
  })
}

// 删除承担国内外重大设计与展演任务
export function delCdgnwzdsj(id) {
  return request({
    url: '/system/cdgnwzdsj/' + id,
    method: 'delete'
  })
}
